package com.cango.student.proxy.staticproxy;

import com.cango.student.proxy.staticproxy.InterfaceA;
import com.cango.student.proxy.staticproxy.RealImplement;

public class ProxyImplement implements InterfaceA {
    private InterfaceA interfaceA;
    public ProxyImplement() {
        interfaceA = new RealImplement();
    }
    public void exec() {
        System.out.println("a");
    }
}
